package com.onedec.designer.mapper;

import com.onedec.designer.entity.OnedecMaterial;
import com.onedec.designer.entity.OnedecMaterialExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface OnedecMaterialMapper {
    long countByExample(OnedecMaterialExample example);

    int deleteByExample(OnedecMaterialExample example);

    int deleteByPrimaryKey(Integer materialId);

    int insert(OnedecMaterial record);

    int insertSelective(OnedecMaterial record);

    List<OnedecMaterial> selectByExample(OnedecMaterialExample example);

    OnedecMaterial selectByPrimaryKey(Integer materialId);

    int updateByExampleSelective(@Param("record") OnedecMaterial record, @Param("example") OnedecMaterialExample example);

    int updateByExample(@Param("record") OnedecMaterial record, @Param("example") OnedecMaterialExample example);

    int updateByPrimaryKeySelective(OnedecMaterial record);

    int updateByPrimaryKey(OnedecMaterial record);
}